// 点赞收藏
export const onLikeApi = (params) => wx.http.get('/user/userDataHandle', params)
// 发布文章
export const addArticleApi = data => wx.http.post('/user/addArticle', data)
// 获取点赞、收藏文章列表
export const getUserLikeApi = (params) => wx.http.get('/user/userDataList', params)
// 获取我的文章列表
export const getUserArticleApi = (params) => wx.http.get('/user/myArticle', params)
// 删除我的文章
export const delUserArticleApi = id => wx.http.get('/user/delArticle?id=' + id)
// 修改文章
export const editArticleApi = data => wx.http.post('/user/editArticle', data)
